import api from '@/http/index'

//获取门店列表
export const GetStockWithMonth = (data) => {
    return new Promise((resolve, reject) => {
        api.post('/api/Statistics/GetStockWithMonth', data).then((res) => {
            resolve(res);
        }).catch(err => {
            reject(err)
        })
    });
};
//获取门店列表
export const shopData = (data) => {
    return new Promise((resolve, reject) => {
        api.get('/api/Shop/GetGridJson', data).then((res) => {
            resolve(res);
        }).catch(err => {
            reject(err)
        })
    });
};